#!/bin/bash

APP_ROOT=/usr/autodesk/maya2018
TL_ROOT=/mnt/jiuqian_tools
ALUSD_ROOT=/usr/local/AL_USDMaya
ARNORLD_ROOT=/opt/solidangle

export MAYA_APP_PATH=/usr/tmp/maya
#export MAYA_MODULE_PATH=$TL_ROOT/maya:$MAYA_MODULE_PATH
export MAYA_MODULE_PATH=$TL_ROOT/maya:$ARNORLD_ROOT/mtoa/2018
export MAYA_PLUG_IN_PATH=$ALUSD_ROOT/plugin:$MAYA_PLUG_IN_PATH
export PXR_PLUGINPATH=$ALUSD_ROOT/lib
export LD_LIBRARY_PATH=/opt/hfs16.0.705/dsolib:/usr/local/USD/lib:/usr/local/USD/lib64:$LD_LIBRARY_PATH


export PYTHONPATH=$TL_ROOT/lightshader.v.0.07/trunk:$TL_ROOT/maya/JQ_Tools:$ALUSD_ROOT/lib/python:/usr/local/USD/lib/python:$PYTHONPATH
export MAYA_UI_LANGUAGE=en_US

export solidangle_LICENSE="5555@192.168.70.29"
export peregrinel_LICENSE="7777@192.168.70.29"



export ARNOLD_PLUGIN_PATH=$TL_ROOT/arnold/cryptomatte/arnold_5.0.2.2_glibc_2.12/bin
export MTOA_TEMPLATES_PATH=$TL_ROOT/arnold/cryptomatte/arnold_5.0.2.2_glibc_2.12/ae
export MAYA_CUSTOM_TEMPLATE_PATH=$TL_ROOT/arnold/cryptomatte/arnold_5.0.2.2_glibc_2.12/aexml

export MTOA_PROCEDURAL_PATH=$TL_ROOT/maya/2017/bin
export MTOA_EXTENSIONS_PATH=$TL_ROOT/maya/2017/plug-ins
export ARNOLD_PROCEDURAL_PATH=$TL_ROOT/maya/2017/bin
export ARNOLD_PLUGIN_PATH=$TL_ROOT/maya/2017/bin:$ARNOLD_PLUGIN_PATH

export JINBAOYANG_PATH=$TL_ROOT/maya/2017/scripts/FY_tools_new

export JIUQIAN_PROJECT=/mnt/jiuqian/project/film

export XGEN_CONFIG_PATH=$JIUQIAN_PROJECT/bao1/production/asset

$APP_ROOT/bin/maya $*


